curl -H "Content-Type: application/json" -X POST -d '
[ {
  "loanState": "PREVIEW",
  "loanProductionNumber" : "L0001",
  "loanBusinessNumber" : "B0001",
  "loanCorpusType" : "EQUAL_CORPUS_ON_SCHEDULE",
  "loanTimelineType" : "FIX_DAY",
  "contractRepaymentDay" : 10,
  "contractFirstTermDaysFloor" : 15,
  "loanRateType" : "FIXED_DAILY",
  "contractRateValue" : "0.0004",
  "contractGracePeriod" : 0,
  "contractTermHead" : 1,
  "contractTermTail" : 6,
  "contractEncashAmount" : "CNY 1200.00",
  "contractValueDate" : "2022-02-10T00:00:00"
} ]' http://localhost:9090/loan/v1/contract/create | tee 0020createContract.json